<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        .right-nav {
            width: 50px;
            height: 200px;
            background-color: #f00;

            position: fixed;
            right: 50px;

            /* 上下居中 */
            top: 0;
            bottom: 0;
            margin: auto;
        }

        .right-nav a {
            display: block;
            padding: 10px;
        }
    </style>
</head>

<body>
    <div class="right-nav">
        <ul>
            <li>
                <a href="">京东秒杀</a>
            </li>
            <li>
                <a href="">京东秒杀</a>
            </li>
            <li>
                <a href="">京东秒杀</a>
            </li>
        </ul>
    </div>
</body>

</html>